<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div>
    <%-- Error Messages --%>
<c:if test="${not empty errors}">
    <div class="error" id="errorMessages">
        <c:forEach var="error" items="${errors}">

            <%--<img src="<c:url value="/images/iconWarning.gif"/>"
                alt="<fmt:message key="icon.warning"/>" class="icon" />--%>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="red"><c:out value="${error}"/><br /></font>

        </c:forEach>
    </div>
    <c:remove var="errors"/>
</c:if>

<%-- Success Messages --%>
<c:if test="${not empty successMessages}">
    <div class="message" id="successMessages">
        <c:forEach var="msg" items="${successMessages}">
           <%-- <img src="<c:url value="/images/iconInformation.gif"/>"
                alt="<fmt:message key="icon.information"/>" class="icon" />--%>
           &nbsp;&nbsp;&nbsp;&nbsp; <font color="green"><c:out value="${msg}"/><br /></font>
        </c:forEach>
    </div>
    <c:remove var="successMessages" scope="session"/>
</c:if>
</div>